package com.hjb.service.impl.common;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hjb.service.common.CommonKeyValueService;
import com.hjb.service.mapper.CommonKeyValueMapper;

/**
 * 公共键值接口业务实现类
 * @author zhangxl
 * @date 2017-07-31
 * @version 1.0
 */
@Service
public class CommonKeyValueServiceImpl implements CommonKeyValueService{

	@Autowired
	private CommonKeyValueMapper commonKeyValueMapper;
	
	@Override
	public List<Map<String, Object>> queryCommonList(String type) {
		return commonKeyValueMapper.queryCommonListByType(type);
	}

}
